package com.lb.mp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangjun
 * @since 2025/04/29
 */
public interface MyBaseMapper<T> extends BaseMapper<T> {
    /**
     * 批量插入
     *
     * @param entityList
     * @return
     */
    int alwaysUpdateSomeColumnById(@Param("et")T entity);

    /**
     * 批量插入
     *
     * @param entityList
     * @return
     */
    int insertBatchSomeColumn(List<T> entityList);
}
